class Config:
    SECRET_KEY = "soren"

    # SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:@localhost/shop'
    WTF_CSRF_SECRET_KEY = "soren"
    TEMPLATES_AUTO_RELOAD = True


class DevelopmentConfig(Config):
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:@127.0.0.1:3306/shop'
    DEBUG = True


class ProductionConfig(Config):
    DEBUG = False


config_map = {
    'development': DevelopmentConfig,
    'production': ProductionConfig
}
# DEBUG = False
# SECRET_KEY = "DSDSD"
